package com.zzmltc.hosp.service;

import com.zzmstc.model.hosp.Department;
import com.zzmstc.vo.hosp.DepartmentQueryVo;
import com.zzmstc.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    //    上传科室接口
    void save(Map<String, Object> paratMap);
    //    查询科室接口
    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);
    //     删除科室接口
    void remore(String hoscode, String depcode);
    // 查询所有医院科室列表
    List<DepartmentVo> findDeptTree(String hoscode);
//  根据科室编号和医院编号查询科室名称
    String getDepName(String hoscode,String depcode);
// 根据科室编号和医院编号查询科室信息
    Department getDepartment(String hoscode, String depcode);
}
